/*
 * Copyright (c) 2014. kupat Corporation. All rights reserved.
 *  see statement on http://www.kupat.cn.
 */
package com.kfgj.hkp.common.dataaccess.mybatis;

/**
 * Created by liwensihan on 2014/11/7.
 *
 * @author liwensihan
 */
public interface StatementIdConstants {




    /**
     * 批量新增记录
     */
    public static final String BATCH_INSERT = "batchInsert";

    /**
     * 批量更新记录
     */
    public static final String BATCH_UPDATE = "batchUpdate";

    /**
     * 自主脚本更新
     */
    public static final String UPDATE_BY_NATIVE_SQL = "updateByNativeSql";

    /**
     * 通过主键批量删除记录
     */
    public static final String BATCH_DELETE_BY_IDS = "batchDeleteByIds";

    /**
     * 查询符合条件的记录
     */
    public static final String SELECT_BY_NATIVE_SQL = "selectByNativeSql";
    /**
     * 查询符合条件的唯一记录
     */
    public static final String SELECT_ONE_BY_NATIVE_SQL = "selectOneByNativeSql";

    /**
     * 根据本地sql进行统计
     */
    public static final String COUNT_BY_NATIVE_SQL = "countByNativeSql";

    /**
     * 查询符合条件的唯一记录
     */
    public static final String SELECT_UNIQUE_BY_PROP = "selectUniqueByProp";

    /**
     * 查询符合条件的实体对象
     */
    public static final String SELECT_BY_MAP = "selectByMap";

    /**
     * 根据条件查询结果集数量
     */
    public static final String COUNT_BY_MAP = "countByMap";

}
